package com.jmlee.pojo;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description 秒杀商品
 * @Author jmLee
 * @Date 2021/3/17 9:00
 * @Version 1.0
 */
public class SecKillItems {

    Long id; 			    // 商品主键id
    String itemName; 	    // 商品名称
    Long catId; 	        // 分类id
    Integer onOffStatus;    // 上下架状态,1:上架 2:下架,3:特选商品待审核
    Integer stock; 			// 库存
    BigDecimal price; 		// 秒杀价
    String content; 		// 商品内容
    Date createdTime; 	    // 创建时间
    Date expiredTime;       // 过期时间
    Long shopId;   		    // 店铺id
    String icon;            // 商品图标

    public SecKillItems() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public Long getCatId() {
        return catId;
    }

    public void setCatId(Long catId) {
        this.catId = catId;
    }

    public Integer getOnOffStatus() {
        return onOffStatus;
    }

    public void setOnOffStatus(Integer onOffStatus) {
        this.onOffStatus = onOffStatus;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getExpiredTime() {
        return expiredTime;
    }

    public void setExpiredTime(Date expiredTime) {
        this.expiredTime = expiredTime;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }
}
